Optimal. Leaf size=50 \[ -\frac {\sinh ^{-1}(a x)^2}{x}-4 a \sinh ^{-1}(a x) \tanh ^{-1}\left (e^{\sinh ^{-1}(a x)}\right )-2 a \text {PolyLog}\left (2,-e^{\sinh ^{-1}(a x)}\right )+2 a \text {PolyLog}\left (2,e^{\sinh ^{-1}(a x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5776, 5816,
4267, 2317, 2438} \begin {gather*} -2 a \text {Li}_2\left (-e^{\sinh ^{-1}(a x)}\right )+2 a \text {Li}_2\left (e^{\sinh ^{-1}(a x)}\right )-\frac {\sinh ^{-1}(a x)^2}{x}-4 a \sinh ^{-1}(a x) \tanh ^{-1}\left (e^{\sinh ^{-1}(a x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2317
Rule 2438
Rule 4267
Rule 5776
Rule 5816
Rubi steps
\begin {align*} \int \frac {\sinh ^{-1}(a x)^2}{x^2} \, dx &=-\frac {\sinh ^{-1}(a x)^2}{x}+(2 a) \int \frac {\sinh ^{-1}(a x)}{x \sqrt {1+a^2 x^2}} \, dx\\ &=-\frac {\sinh ^{-1}(a x)^2}{x}+(2 a) \text {Subst}\left (\int x \text {csch}(x) \, dx,x,\sinh ^{-1}(a x)\right )\\ &=-\frac {\sinh ^{-1}(a x)^2}{x}-4 a \sinh ^{-1}(a x) \tanh ^{-1}\left (e^{\sinh ^{-1}(a x)}\right )-(2 a) \text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\sinh ^{-1}(a x)\right )+(2 a) \text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\sinh ^{-1}(a x)\right )\\ &=-\frac {\sinh ^{-1}(a x)^2}{x}-4 a \sinh ^{-1}(a x) \tanh ^{-1}\left (e^{\sinh ^{-1}(a x)}\right )-(2 a) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\sinh ^{-1}(a x)}\right )+(2 a) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\sinh ^{-1}(a x)}\right )\\ &=-\frac {\sinh ^{-1}(a x)^2}{x}-4 a \sinh ^{-1}(a x) \tanh ^{-1}\left (e^{\sinh ^{-1}(a x)}\right )-2 a \text {Li}_2\left (-e^{\sinh ^{-1}(a x)}\right )+2 a \text {Li}_2\left (e^{\sinh ^{-1}(a x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 75, normalized size = 1.50 \begin {gather*} a \left (-\sinh ^{-1}(a x) \left (\frac {\sinh ^{-1}(a x)}{a x}-2 \log \left (1-e^{-\sinh ^{-1}(a x)}\right )+2 \log \left (1+e^{-\sinh ^{-1}(a x)}\right )\right )+2 \text {PolyLog}\left (2,-e^{-\sinh ^{-1}(a x)}\right )-2 \text {PolyLog}\left (2,e^{-\sinh ^{-1}(a x)}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.84, size = 108, normalized size = 2.16
method | result | size |
derivativedivides | \(a \left (-\frac {\arcsinh \left (a x \right )^{2}}{a x}-2 \arcsinh \left (a x \right ) \ln \left (1+a x +\sqrt {a^{2} x^{2}+1}\right )-2 \polylog \left (2, -a x -\sqrt {a^{2} x^{2}+1}\right )+2 \arcsinh \left (a x \right ) \ln \left (1-a x -\sqrt {a^{2} x^{2}+1}\right )+2 \polylog \left (2, a x +\sqrt {a^{2} x^{2}+1}\right )\right )\) | \(108\) |
default | \(a \left (-\frac {\arcsinh \left (a x \right )^{2}}{a x}-2 \arcsinh \left (a x \right ) \ln \left (1+a x +\sqrt {a^{2} x^{2}+1}\right )-2 \polylog \left (2, -a x -\sqrt {a^{2} x^{2}+1}\right )+2 \arcsinh \left (a x \right ) \ln \left (1-a x -\sqrt {a^{2} x^{2}+1}\right )+2 \polylog \left (2, a x +\sqrt {a^{2} x^{2}+1}\right )\right )\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {asinh}^{2}{\left (a x \right )}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\mathrm {asinh}\left (a\,x\right )}^2}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________